@namespace Microsoft.FluentUI.AspNetCore.Components
@inherits FluentInputBase<string?>
<FluentInputLabel ForId="@Id" Label="@Label" AriaLabel="@AriaLabel" ChildContent="@LabelTemplate" />
<fluent-text-field @ref=Element
                   class="@ClassValue"
                   style="@StyleValue"
                   readonly="@ReadOnly"
                   autofocus="@Autofocus"
                   placeholder="@Placeholder"
                   type="@TextFieldType.ToAttributeValue()"
                   list=@DataList
                   maxlength="@Maxlength"
                   minlength="@Minlength"
                   pattern=@Pattern
                   size="@Size"
                   spellcheck="@Spellcheck"
                   id=@Id
                   value=@Value
                   current-value="@BindConverter.FormatValue(CurrentValue)"
                   disabled="@Disabled"
                   name=@Name
                   required="@Required"
                   appearance="@Appearance.ToAttributeValue()"
                   @onchange="@ChangeHandlerAsync"
                   @oninput="@InputHandlerAsync"
                   @attributes="AdditionalAttributes">
    @ChildContent
</fluent-text-field>
